package com.youhome.common.pingxx;

/**
 * Created by chen365 on 2017/9/14.
 */
public class PingxxData {

    public static String getApiBase() {
        return "https://api.pingxx.com";
    }

    public static String getApiKey() {
        //return "sk_test_LKinnLvPePm5GWzj5KbrbjTC"; //test
        return "sk_live_5GGSyDO0Gyr5zfPKiTnDmz5G";//live
    }

    public static String getAppID() {
        return "app_i9er54K080q9KaTS";
    }

    public static String getPKCS8PrivateKey() {
        return "-----BEGIN PRIVATE KEY-----\n" +
                "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCpKiwr2i3WWU+M\n" +
                "l4WybFiQsPUXj9bHaT1kJGA+KvZn/xBlynJCzcBaU6uzKPu+QPYUQI8vWIwZaVJJ\n" +
                "2srk4h4Wi9QDyMYE34A7OCSym6LTcT4PUqwZhDgoOTNle3yiYLqnQiJ0HJJwgnpn\n" +
                "JXz5w6uWM1s6KPjTExZDaWoQWHkwjYJeWpxybNyoOeJEt/bO5PQ5xkaw2WG7W25k\n" +
                "ygCmarXPkNgNMFjNdK/sGGn3Bnt4tJJj85qVOBlC2DK9meBGOQ/Epz9dli87YhWy\n" +
                "eDqGmfi6Z8igot16at9uSt1USYdOUg59A3Vu1ERT08KSXsqDkiJJlS64eK7PTrfP\n" +
                "O7gVm8eLAgMBAAECggEAT/8xhEtZAdSaWdIN16KE/2evf8T1vLd34LOTD9MhU2y7\n" +
                "RGfIQO8r14tZ1w+6fO4bcNhW3fzxw9Kap3JgIH0N3Xuid2eqvQM0kMysDgqrpXIX\n" +
                "9wcRe7+bDup986/B8MftfMs5n88jMTGC0ORZhYOS0STYL1jQ0oBkNtzS24f7R4nf\n" +
                "EG/JS1bTgeYxYWxrPZ+U0o1ZwEz4/qZOnPVyuKzO2J9VsI07Li6HXKNvYkm3z5+V\n" +
                "N5UD7BGsw370SvRsDqfJEUhVpygXxd46zt1AX4QCUUVlTDm115cZMv0rWC0RgRIO\n" +
                "L+p4/uUmAZ5N+mARgREQqGO67RwF+bfCfB13adKPgQKBgQDURGEl3Tjm14/cdjtn\n" +
                "hVdHZo4Qaggc5Woxp4OqBDR60gh64751Ej04JiFTn3jb0qto9n2lSR5K3hKd+C5g\n" +
                "MzLwYvqAemxiDc0VxSIR+WxjEWcGQdv6RXJWmJczM3KIZyJammkaFT9nGSRT8SfR\n" +
                "vEG92E8d2A9bsXpYjRWJJ/Bd7wKBgQDMBHD9j8iFZ4OrFGtGHj8mZcVCuChrdqiR\n" +
                "9SVus+zzLlDejPCJgHS+6r/gPXEgCLNZFExdKyVdFk1haPdFXlM99+7FGm0U08su\n" +
                "VyH109lhrSshHihGUYsYzyxX4O9/g1+vHGs7r4C8Ie9nBlXul7bN9nU4hMPUuJx/\n" +
                "mzo+MvkMJQKBgFrZ0YK1Rq92v7oqWI6cQZjryg44c7R6dJNAEVhpaFTRJJQEefX9\n" +
                "kno/x6/U55OefYL1TR27R93fYrR+DstZ3omIs5Ld0xm8snSI5WYwDTXxsti4w4BA\n" +
                "zQlHUh+1+2VqTwfcYvOo+HQWDLho1RQtsS2iMWqimSAzvBu+duM3Vue9AoGACNdI\n" +
                "bjSE5AMQWaGQ5ID7C5btbW69kaqas3iEHr/9TKx9JKfG5K6EYKGbnwQKmvDFlN6k\n" +
                "UIVGITqOL+J0lLT5tn3AAxqaD4T+EQwFlLmRegIfFFhSNnniJTkVGtnMhyISS2xX\n" +
                "2UZJtd1imnxTzPsWGObNPZ3DPryhS4ZWh8t9r2ECgYEAnUYrZGiNwiUDNZ1Z8ELr\n" +
                "7rl8gh8VPy/xgI28uE6isFLZFDjo0+0wlFdRz0B7Y6viWiqV5oRb6bRRt1rTRBJI\n" +
                "sXArB3vzo0vSGO4xglf4QhJXqlQ1+/vE1uGOhrGTi1+v4DkPwJr8eWjtLU/6OZva\n" +
                "JyQP//VEI89KWlX/yQitf34=\n" +
                "-----END PRIVATE KEY-----\n";

    }

    public static String getPKCS1PrivateKey() {
        return "-----BEGIN RSA PRIVATE KEY-----\n" +
                "MIIEowIBAAKCAQEAqSosK9ot1llPjJeFsmxYkLD1F4/Wx2k9ZCRgPir2Z/8QZcpy\n" +
                "Qs3AWlOrsyj7vkD2FECPL1iMGWlSSdrK5OIeFovUA8jGBN+AOzgkspui03E+D1Ks\n" +
                "GYQ4KDkzZXt8omC6p0IidByScIJ6ZyV8+cOrljNbOij40xMWQ2lqEFh5MI2CXlqc\n" +
                "cmzcqDniRLf2zuT0OcZGsNlhu1tuZMoApmq1z5DYDTBYzXSv7Bhp9wZ7eLSSY/Oa\n" +
                "lTgZQtgyvZngRjkPxKc/XZYvO2IVsng6hpn4umfIoKLdemrfbkrdVEmHTlIOfQN1\n" +
                "btREU9PCkl7Kg5IiSZUuuHiuz063zzu4FZvHiwIDAQABAoIBAE//MYRLWQHUmlnS\n" +
                "DdeihP9nr3/E9by3d+Czkw/TIVNsu0RnyEDvK9eLWdcPunzuG3DYVt388cPSmqdy\n" +
                "YCB9Dd17ondnqr0DNJDMrA4Kq6VyF/cHEXu/mw7qffOvwfDH7XzLOZ/PIzExgtDk\n" +
                "WYWDktEk2C9Y0NKAZDbc0tuH+0eJ3xBvyUtW04HmMWFsaz2flNKNWcBM+P6mTpz1\n" +
                "crisztifVbCNOy4uh1yjb2JJt8+flTeVA+wRrMN+9Er0bA6nyRFIVacoF8XeOs7d\n" +
                "QF+EAlFFZUw5tdeXGTL9K1gtEYESDi/qeP7lJgGeTfpgEYEREKhjuu0cBfm3wnwd\n" +
                "d2nSj4ECgYEA1ERhJd045teP3HY7Z4VXR2aOEGoIHOVqMaeDqgQ0etIIeuO+dRI9\n" +
                "OCYhU59429KraPZ9pUkeSt4SnfguYDMy8GL6gHpsYg3NFcUiEflsYxFnBkHb+kVy\n" +
                "VpiXMzNyiGciWpppGhU/ZxkkU/En0bxBvdhPHdgPW7F6WI0ViSfwXe8CgYEAzARw\n" +
                "/Y/IhWeDqxRrRh4/JmXFQrgoa3aokfUlbrPs8y5Q3ozwiYB0vuq/4D1xIAizWRRM\n" +
                "XSslXRZNYWj3RV5TPffuxRptFNPLLlch9dPZYa0rIR4oRlGLGM8sV+Dvf4Nfrxxr\n" +
                "O6+AvCHvZwZV7pe2zfZ1OITD1Licf5s6PjL5DCUCgYBa2dGCtUavdr+6KliOnEGY\n" +
                "68oOOHO0enSTQBFYaWhU0SSUBHn1/ZJ6P8ev1OeTnn2C9U0du0fd32K0fg7LWd6J\n" +
                "iLOS3dMZvLJ0iOVmMA018bLYuMOAQM0JR1Iftftlak8H3GLzqPh0Fgy4aNUULbEt\n" +
                "ojFqopkgM7wbvnbjN1bnvQKBgAjXSG40hOQDEFmhkOSA+wuW7W1uvZGqmrN4hB6/\n" +
                "/UysfSSnxuSuhGChm58ECprwxZTepFCFRiE6ji/idJS0+bZ9wAMamg+E/hEMBZS5\n" +
                "kXoCHxRYUjZ54iU5FRrZzIciEktsV9lGSbXdYpp8U8z7FhjmzT2dwz68oUuGVofL\n" +
                "fa9hAoGBAJ1GK2RojcIlAzWdWfBC6+65fIIfFT8v8YCNvLhOorBS2RQ46NPtMJRX\n" +
                "Uc9Ae2Or4loqleaEW+m0Ubda00QSSLFwKwd786NL0hjuMYJX+EISV6pUNfv7xNbh\n" +
                "joaxk4tfr+A5D8Ca/Hlo7S1P+jmb2ickD//1RCPPSlpV/8kIrX9+\n" +
                "-----END RSA PRIVATE KEY-----\n";
    }

    //ping++ 公钥
    public static String getPublicKey() {
        return "-----BEGIN PUBLIC KEY-----\n" +
        "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq5WrEYqATzQn+oji0RvH\n" +
        "cWTUibp7srREeHH+t9sEz+60k41ZCky026fGVkPw7Ze0TraH5ltZ44TN+sruKBri\n" +
        "dVpiZVTJp56TFwm2Haov89yGezPPAeBW70giv77DTTL3G8C6jWgxc53CM7H70Esb\n" +
        "UmUy/jW0VPIs/guXMENi9CLal//AApQmS5gmBOv7nsNBNlGPL9a1EMVTscFJimat\n" +
        "UWSMLn/dV5fmJMYGj+jZGatRU6W4K0XZj4b6vd2E7uOp+NxP1DUuKSDu8RUDCerA\n" +
        "0KNwCyoFlq8u/eQ+EFbj8zF9XakhXw8JLSaL2D/BgTy/1a+IcUqnoNnDf7u5Qq3N\n" +
        "pwIDAQAB\n" +
        "-----END PUBLIC KEY-----\n";
    }

    //商户公钥
    public static String getMerchantPublicKey() {
        return "-----BEGIN PUBLIC KEY-----\n" +
                "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqSosK9ot1llPjJeFsmxY\n" +
                "kLD1F4/Wx2k9ZCRgPir2Z/8QZcpyQs3AWlOrsyj7vkD2FECPL1iMGWlSSdrK5OIe\n" +
                "FovUA8jGBN+AOzgkspui03E+D1KsGYQ4KDkzZXt8omC6p0IidByScIJ6ZyV8+cOr\n" +
                "ljNbOij40xMWQ2lqEFh5MI2CXlqccmzcqDniRLf2zuT0OcZGsNlhu1tuZMoApmq1\n" +
                "z5DYDTBYzXSv7Bhp9wZ7eLSSY/OalTgZQtgyvZngRjkPxKc/XZYvO2IVsng6hpn4\n" +
                "umfIoKLdemrfbkrdVEmHTlIOfQN1btREU9PCkl7Kg5IiSZUuuHiuz063zzu4FZvH\n" +
                "iwIDAQAB\n" +
                "-----END PUBLIC KEY-----\n";
    }


    public static String getSignature() {
        return "XADPys/NwSMrci2jkMph/ERcZl9GKkm97rWjaCLSt7+FEstUgKY9SLrDEASe1ppT7zbG1TF+iNeChUSvq/8Izrp8UhnKailDvX0z0OqXcJwP2ikh+knR8cqc8/aAik3DJ19ZDxsTg8MPrVza5VCScfw0yMfJYh+ML5PWcH8f7MKf6l9RHOaQ4I6Yxv0Lb+f4rr3AmjmartbrWHh0PZqX/G8gd5r+lpxB9qMVe0BzRKMFRMk3WIE8Yv83uFSKsj03rIjyp5e0cuRlwQKk42ORwKeByf3N5OgiJf32Y/IpMG2NZyWmbYL5Yw8DFOrltKo981PLXqnm5HqNpCuG6hzqQA==";
    }

    public static String getChargeWebhooksData() {
        return "{\"id\":\"evt_c4qfbcefvIhsxKuES4CpqdUN\",\"created\":1482204769,\"livemode\":false,\"type\":\"charge.succeeded\",\"data\":{\"object\":{\"amount\":100,\"amount_refunded\":0,\"amount_settle\":100,\"app\":\"app_1Gqj58ynP0mHeX1q\",\"body\":\"Your body\",\"channel\":\"alipay\",\"client_ip\":\"210.28.41.51\",\"created\":1482204769,\"credential\":{},\"currency\":\"cny\",\"description\":\"Description.\",\"extra\":{},\"failure_code\":null,\"failure_msg\":null,\"id\":\"ch_1SiPqPDCuvj5S4OaTSX54KC0\",\"livemode\":false,\"metadata\":{},\"object\":\"charge\",\"order_no\":\"orderno1482210036043\",\"paid\":true,\"refunded\":false,\"refunds\":{\"data\":[],\"has_more\":false,\"object\":\"list\",\"url\":\"/v1/charges/ch_1SiPqPDCuvj5S4OaTSX54KC0/refunds\"},\"subject\":\"Your Subject\",\"time_expire\":1482207768,\"time_paid\":1482204769,\"time_settle\":null,\"transaction_no\":\"2016122028818332\"}},\"object\":\"event\",\"request\":\"iar_cfgO0GxCSs9CH0K4r1t5Whjk\",\"pending_webhooks\":0}";
    }

    public static String getBatchTransferWebhooksData() {
        return "{\"id\":\"evt_cx1zsoQsiPfjagJKt5gydjsx\",\"created\":1475924802,\"livemode\":true,\"type\":\"batch_transfer.succeeded\",\"data\":{\"object\":{\"id\":\"181610081644346142\",\"amount\":2200,\"app\":\"app_1Gqj58ynP0mHeX1q\",\"batch_no\":\"battr1475916275\",\"channel\":\"alipay\",\"created\":1475916274,\"currency\":\"cny\",\"description\":\"Batch transfer description.\",\"extra\":{},\"failure_msg\":null,\"fee\":100,\"livemode\":true,\"metadata\":{},\"object\":\"batch_transfer\",\"recipients\":[{\"account\":\"test@gmail.com\",\"amount\":1100,\"description\":\"批量付款说明。\",\"name\":\"test\",\"status\":\"paid\",\"transfer\":\"tr_uj9GSfTK8G8mLeHu9KafK5WT\"},{\"account\":\"test@gmail.com\",\"amount\":1100,\"description\":\"批量付款说明。\",\"name\":\"test002\",\"status\":\"paid\",\"transfer\":\"tr_PiXiffX4mbevX5HDfT44DmjL\"}],\"status\":\"succeeded\",\"time_succeeded\":null,\"transaction_no\":null,\"type\":\"b2c\"}},\"object\":\"event\",\"request\":\"iar_23eD0xHi58zLfD5HKdnC2nDc\",\"pending_webhooks\":0}";
    }


}
